Skip to content

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

void AddRange(IEnumerable<KeyValuePair<TKey, TValue>> pairs)

Summary: Adds the elements of the specified collection to the current collection.

Parameters

NameTypeDescription
pairsIEnumerable> (opens in a new tab)The collection of key/value pairs to add. Each pair is added to the collection. Cannot be null.